const express = require('express')
const ctrldb = require('../utils/ctrldb')

const router = express.Router()


router.get('/', (req,res,next)=>{
    ctrldb('goods', (data)=>{
        res.json(data)
    })
})


module.exports = router